package com.hongye.consult.dao;

import com.hongye.consult.entity.ConsultEntity;
import com.hongye.consult.entity.HouseEntity;
import com.hongye.consult.vo.DetailVo;
import com.hongye.consult.vo.FindRentingVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author hxy
 * @email 3199037134@qq.com
 * @date 2022-04-26 18:42:18
 */
@Mapper
public interface ConsultDao{

    List<ConsultEntity> findSubjectConsultation(@Param("startTime") String startTime, @Param("endTime") String endTime);

    List<HouseEntity> findConsultDetail(@Param("houseId") Integer houseId);

    List<DetailVo> findAllConsult();

    List<HouseEntity> findRentingList(@Param("vo") FindRentingVo vo);

}
